package com.google.shop.product.controller.product;

import com.google.shop.product.common.utils.R;
import com.google.shop.product.service.product.ProductSkuService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping({"/product"})
@RestController
/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/controller/product/ProductSkuController.class */
public class ProductSkuController {
    private static final Logger log = LoggerFactory.getLogger(ProductSkuController.class);
    @Autowired
    ProductSkuService skuService;

    @GetMapping({"/findDetailByskuIdAndSkuNum"})
    public R findDetailByskuIdAndSkuNum(Integer skuId, Integer skuNum, Integer addressId) {
        return R.ok(this.skuService.findDetailByskuId(skuId, skuNum, addressId));
    }
}
